<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>01正则的创建</title>
	<script>
		// 字面量
		var reg = /<script>/ig;

		// 构造函数
		var reg = new RegExp('<script>','ig');


	</script>
</head>
<body>
	
</body>
</html>